<?php use_stylesheet('programs.css') ?>


   <div class="text_box" style="clear:both">
      <a href="<?php echo url_for('programs/show?id='.$cf_programa->getId()) ?>">
		<img src="<?php echo $cf_programa->getImagen() ?>"  class="fleft"></a>
     
      <a href="<?php echo url_for('programs/show?id='.$cf_programa->getId()) ?>"><h3><?php echo $cf_programa->getTitulo() ?></h3></a>

      <span class="tag">Duration:</span><?php echo $cf_programa->getDuracion() ?>d/<?php echo $cf_programa->getDuracion()-1?>n
      <p><?php echo $cf_programa->getDescripcion() ?></p>
   <div style="clear:both">   
    <?php foreach ($cf_dias as $cf_dia): ?>
       <span class="tag">Day <?php echo $cf_dia->getDia() ?>:</span>
	<?php echo $cf_dia->getTitulo() ?>
	<br>
    <?php endforeach; ?>
   </div>
  </div>

<a href="<?php echo url_for('programs/edit?id='.$cf_programa->getId()) ?>">Edit</a>
&nbsp;
<a href="<?php echo url_for('programs/index') ?>">List</a>
